﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 岗位代理
    /// </summary>
    [SugarTable("PostRelations")]
    public class PostRelations
    {
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 职位ID，唯一id
        /// </summary>
        public string objid { get; set; }

        /// <summary>
        /// 上级职位ID
        /// </summary>
        public string sobid { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        public string stext { get; set; }

        /// <summary>
        /// 成本中心代码
        /// </summary>
        public string kostl { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string sapEmployeeId { get; set; }

        /// <summary>
        /// 删除标识，true为删除，false为未删除
        /// </summary>
        public string is_delete { get; set; }

        /// <summary>
        /// 代理职位
        /// </summary>
        public string insteadPost { get; set; }

        /// <summary>
        /// 组织代码
        /// </summary>
        public string orgeh { get; set; }
    }
}
